-- GENERATED SPELL FOR [Gnarl Leafbrother] --


function spell0_5354(pUnit, Event) --@Entangling Roots,n/a--
pUnit:FullCastSpellOnTarget(11922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5354', 16500, 1)
end

function Sorts_5354(pUnit, Event)
local choix_sorts_5354 = math.random(0, 0)
if choix_sorts_5354 == 0 then
pUnit:RegisterEvent('spell0_5354', 1, 1)
end
end

function mob5354_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5354', math.random(1500, 3000), 1)
end

function mob5354_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5354_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5354_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5354, 1, 'mob5354_Action')
RegisterUnitEvent(5354, 2, 'mob5354_Leave')
RegisterUnitEvent(5354, 3, 'mob5354_Kill')
RegisterUnitEvent(5354, 4, 'mob5354_Die')
